﻿#pragma once
#include "afxdialogex.h"

class CCustomProgressCtrl : public CProgressCtrl
{
public:
    CCustomProgressCtrl();

    void SetBarColor(COLORREF clr);
    void SetBkColor(COLORREF clr);

protected:
    afx_msg void OnPaint();
    DECLARE_MESSAGE_MAP()

private:
    COLORREF m_clrBar;
    COLORREF m_clrBk;
};

class CDoubleBufferedStatic : public CStatic
{
public:
    afx_msg void OnPaint();
    DECLARE_MESSAGE_MAP()
};